home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl720
/
sst115j.lzh
/
SSTKEY.H
< prev
next >
Wrap
Text File
|
1992-03-21
|
7KB
|
188 lines
/* ------------------------------------------------------------------------ */
/* sstkey.h */
/* */
/* keyboard header file */
/* */
/* CopyRight (C) 1991,1992 Steven Lutrov. All rights reserved. */
/* ------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------ */
/* constants used in return of kstate function */
/* ------------------------------------------------------------------------ */
#define K_RIGHTSHIFTDOWN 0x0001
#define K_LEFTSHIFTDOWN 0x0002
#define K_CTRLDOWN 0x0004
#define K_ALTDOWN 0x0008
#define K_SCROLLLOCKON 0x0010
#define K_NUMLOCKON 0x0020
#define K_CAPSLOCKON 0x0040
#define K_INSON 0x0080
#define K_SUSPENDON 0x0800
#define K_SCROLLLOCKDOWN 0x1000
#define K_NUMLOCKDOWN 0x2000
#define K_CAPSLOCKDOWN 0x4000
#define K_INSDOWN 0x8000
/* ------------------------------------------------------------------------ */
/* key board constants */
/* ------------------------------------------------------------------------ */
#define BELL 0x0007
#define BS 0x0008
#define TAB 0x0009
#define ESC 0x001B
#define ENTER 0x000D
#define HOME 0x4700
#define UP 0x4800
#define PGUP 0x4900
#define LEFT 0x4B00
#define RIGHT 0x4D00
#define END 0x4F00
#define DOWN 0x5000
#define PGDN 0x5100
#define INS 0x5200
#define DEL 0x5300
#define CTRL_ENTER 0x000A
#define CTRL_HOME 0x77E0
#define CTRL_UP 0xFCE0
#define CTRL_PGUP 0x84E0
#define CTRL_LEFT 0x73E0
#define CTRL_RIGHT 0x74E0
#define CTRL_END 0x75E0
#define CTRL_PGDN 0x76E0
#define CTRL_DOWN 0xFAE0
#define CTRL_TAB 0x9400
#define CTRL_BS 0x0E7F
#define CTRL_FIVE 0x8F00
#define CTRL_INS 0x01FF
#define SHIFT_DEL 0x04FF
#define SHIFT_HOME 0x0AFF
#define SHIFT_END 0x0BFF
#define SHIFT_PGUP 0x0CFF
#define SHIFT_PGDN 0x0DFF
#define ALT_BS 0x0E00
#define SHIFT_TAB 0x0F00
#define SHIFT_INS 0x02FF
#define SHIFT_5 0x4C35
#define F1 0x3B00
#define F2 0x3C00
#define F3 0x3D00
#define F4 0x3E00
#define F5 0x3F00
#define F6 0x4000
#define F7 0x4100
#define F8 0x4200
#define F9 0x4300
#define F10 0x4400
#define F11 0x8500
#define F12 0x8600
#define CTRL_F1 0x5E00
#define CTRL_F2 0x5F00
#define CTRL_F3 0x6000
#define CTRL_F4 0x6100
#define CTRL_F5 0x6200
#define CTRL_F6 0x6300
#define CTRL_F7 0x6400
#define CTRL_F8 0x6500
#define CTRL_F9 0x6600
#define CTRL_F10 0x6700
#define CTRL_F11 0x8900
#define CTRL_F12 0x8A00
#define ALT_F1 0x6800
#define ALT_F2 0x6900
#define ALT_F3 0x6A00
#define ALT_F4 0x6B00
#define ALT_F5 0x6C00
#define ALT_F6 0x6D00
#define ALT_F7 0x6E00
#define ALT_F8 0x6F00
#define ALT_F9 0x7000
#define ALT_F10 0x7100
#define ALT_F11 0x8B00
#define ALT_F12 0x8C00
#define SHIFT_F1 0x5400
#define SHIFT_F2 0x5500
#define SHIFT_F3 0x5600
#define SHIFT_F4 0x5700
#define SHIFT_F5 0x5800
#define SHIFT_F6 0x5900
#define SHIFT_F7 0x5A00
#define SHIFT_F8 0x5B00
#define SHIFT_F9 0x5C00
#define SHIFT_F10 0x5D00
#define SHIFT_F11 0x8700
#define SHIFT_F12 0x8800
#define ALT_A 0x1E00
#define ALT_B 0x3000
#define ALT_C 0x2E00
#define ALT_D 0x2000
#define ALT_E 0x1200
#define ALT_F 0x2100
#define ALT_G 0x2200
#define ALT_H 0x2300
#define ALT_I 0x1700
#define ALT_J 0x2400
#define ALT_K 0x2500
#define ALT_L 0x2600
#define ALT_M 0x3200
#define ALT_N 0x3100
#define ALT_O 0x1800
#define ALT_P 0x1900
#define ALT_Q 0x1000
#define ALT_R 0x1300
#define ALT_S 0x1F00
#define ALT_T 0x1400
#define ALT_U 0x1600
#define ALT_V 0x2F00
#define ALT_W 0x1100
#define ALT_X 0x2D00
#define ALT_Y 0x1500
#define ALT_Z 0x2C00
#define ALT_1 0x7800
#define ALT_2 0x7900
#define ALT_3 0x7A00
#define ALT_4 0x7B00
#define ALT_5 0x7C00
#define ALT_6 0x7D00
#define ALT_7 0x7E00
#define ALT_8 0x7F00
#define ALT_9 0x8000
#define ALT_0 0x8100
#define ALT_HYPHEN 0x2900
#define ALT_MINUS 0x8200
#define CTRL_A 0x1E01
#define CTRL_B 0x3002
#define CTRL_C 0x2E03
#define CTRL_D 0x2004
#define CTRL_E 0x1205
#define CTRL_F 0x2106
#define CTRL_G 0x2207
#define CTRL_H 0x2308
#define CTRL_I 0x1709
#define CTRL_J 0x240A
#define CTRL_K 0x250B
#define CTRL_L 0x260C
#define CTRL_M 0x320D
#define CTRL_N 0x310E
#define CTRL_O 0x180F
#define CTRL_P 0x1910
#define CTRL_Q 0x1011
#define CTRL_R 0x1312
#define CTRL_S 0x1F13
#define CTRL_T 0x1414
#define CTRL_U 0x1615
#define CTRL_V 0x2F16
#define CTRL_W 0x1117
#define CTRL_X 0x2D18
#define CTRL_Y 0x1519
#define CTRL_Z 0x2C1A